from django.urls import re_path, path, include
from rest_framework import routers
from . import views
from mysqldb.views import GamoPlacetokenListViewSet, GamoPlacetokenLoginViewSet

router = routers.DefaultRouter()

# router.register(r"Reg", GamoPlacetokenListViewSet, basename="10创建认证账户")
# router.register(r"Login", GamoPlacetokenLoginViewSet, basename="11登录服务器")

# router.register(r"UpDown", views.CQ8BarMemBerUpDownViewSet, basename="12上下机消息")
# router.register(r"Invest", views.CQ8BarMemBerInvestViewSet, basename="13充值消息")
# router.register(r"Hongbao", views.CQ8BarMemBerGameRewardViewSet, basename="14红包奖励消息")

# router.register(r"InfoList", views.AllinpayMemberListViewSet, basename="20场所会员信息")
# router.register(r"PcLogin", views.AllinpayProgrunListViewSet, basename="21场所终端登录")

# router.register(
#     r"ConfTypesLol", views.GamePlaceconfLolTypesViewSet, basename="22lol赛制配置"
# )
# router.register(
#     r"ConfGroupLol", views.GamePlaceconfLolGroupViewSet, basename="23lol大区配置"
# )

# router.register(r"Test", views.TestViewSet, basename="99测试")


urlpatterns = [
    path("", include(router.urls)),
]
